<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    /*
    基于原型对象的继承使得不同构造函数的原型对象关联在一起，并且这种关联的关系是一种链状的结构，我们将原型对象的链状结构称为原型链 
     */
    function Person(name, age) {
      this.name = name
      this.age = age
    }
    const ldh = new Person("陶品奇", 22)
    console.log(ldh.__proto__ === Person.prototype) //true
    console.log(Person.prototype.__proto__ === Object.prototype)//true
    console.log(Object.prototype.__proto__); //null
    console.log(Person.prototype.__proto__);
  </script>
</body>

</html>